home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Inventor Labs: Technology
/
INVENTORLABS_TECHNOLOGY.BIN
/
pc
/
files
/
shared.cst
/
00144_Script_Movie Display Frame Script
< prev
next >
Wrap
Text File
|
1997-07-24
|
1KB
|
39 lines
global gQTVRObj, gDot
on exitFrame
-- Movie Display Frame Script
if isQTVRMovie(gQTVRObj) then -- only do this stuff if there's an open qtvr movie
if rollover(1) then -- test to see if the mouse is over the qtvr movie
set the membernum of sprite 9 = gDot
set the membernum of sprite 10 = gDot
updatestage
set action = QTVRMouseOver(gQTVRObj) -- if it is then tell qtvr to take control\
if action <> 0 then
if value(item 2 of action) <> 0 then
cursor 200
set whatmem = "sfx " & string( random( 4 ))
puppetsound 2, whatmem
puppetsprite 4, false
puppetsprite 9, false
puppetsprite 10, false
go frame item 2 of action
QTVRSetVisible(gQTVRObj, false)
cursor 0
end if
end if
else
QTVRIdle(gQTVRObj) -- if not then let qtvr perform it's idle business
cursor 200 -- and reset the cursor
cursor -1
end if
end if
go the frame
end